<include file="Admin@Public/header" /> 

<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <ol class="breadcrumb">
      <li>内容管理</a></li>
      <li>拓展属性</a></li>
      <li>添加</a></li>
      <li class="active">选择栏目</li>
  </ol>
  
  <form  class="form-horizontal" role="form">
      <div class="form-group">
        <label for="inputTitle" class="col-sm-1 control-label"></label>
        <div class="col-sm-7">
          <table class="table">
            <thead>
              <tr>
                <th>#</th>
                <th>分类名</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
                <?php
                    $allTypes = R('Content/Type/tree');
                ?>
                <volist name="allTypes" id="type" key="num">
                    <tr>
                      <td>{$type.id}</td>
                      <td><span style="padding-left:<?php echo ($type["sort"]*20); ?>px">{$type.html}{$type.name}</span></td>
                      <td><a href="__URL__/add?type={$type.id}" class="btn btn-info">选择</a>                      </td>
                    </tr>  
                </volist> 
              
            </tbody>
        </table>      
        </div>
      </div>
  </form>    

</div>


<include file="Admin@Public/footer" />    
